//
//  InputContentController.h
//  QRBuildScan
//
//  Created by  on 12-1-2.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/Mapkit.h>
#import <CoreLocation/CoreLocation.h>
#import <AddressBook/AddressBook.h>
typedef enum {
    Type_WWWURL =100,
    Type_PhoneNum,
    Type_Text,
    Type_Position,
    Type_Email,
    Type_Mecard,
    Type_SMS
}ContentType;

@interface DisplayMap : NSObject
<MKAnnotation>{
    CLLocationCoordinate2D coordinate;
    NSString *title;
    NSString *subtitle;
}
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subtitle;
@end

@interface InputContentController : UIViewController <UITextFieldDelegate,CLLocationManagerDelegate,UISearchBarDelegate,MKMapViewDelegate,UITableViewDelegate,UITableViewDataSource>{
    ContentType  m_ShowType;
    NSMutableString*    p_QRContent;
    UIButton*    m_CreateQR;
    MKMapView*   mapView;
    UIButton* p_OverButton;
    UIImageView* p_SCDownBar;
    
    NSMutableArray* p_SrcContactArr;
    NSMutableArray* p_ContactArr;
    UITableView*  p_MecardTable;
    NSMutableArray* p_Characters;
}
@property (nonatomic) ContentType  m_ShowType;
@property (nonatomic,retain) UIButton*    m_CreateQR;

-(void) liteDataArr:(NSString*)key;
@end
